package com.wang.springboot.template01.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author: wang
 * @date: 2021/8/25 15:40
 * @description:
 */
@Controller
public class CommonController {

    @RequestMapping("/")
    @ResponseBody
    public String index(){
        return "访问成功";
    }

}
